<?php  
class ControllerCommonFooter extends Controller {
	protected function index() {
        $this->data['text_information']  = '';
		//$this->load->model('home/information');
		
		$this->data['informations'] = array();

// 		foreach ($this->model_catalog_information->getInformations() as $result) {
//       		$this->data['informations'][] = array(
//         		'title' => $result['title'],
// 	    		'href'  => $this->url->link('information/information', 'information_id=' . $result['information_id'])
//       		);
//     	}
	

		$this->data['powered'] = sprintf('&copy;  %d All Rights Reserved.',  date('Y', time()));
		
		if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . 'common/footer.tpl')) {
			$this->template = $this->config->get('config_template') . 'common/footer.tpl';
		} else {
			$this->template = 'common/footer.tpl';
		}
		
		$this->render();
	}
}
?>